/**
 * 
 */
package edu.njit.hz278.bean;

import javax.validation.constraints.Min;


/**
 * @author Rivers Zhang
 * 
 */
public class Diagnosis {
	protected String comment;
	@Min(1)
	protected int pNum;
	@Min(1)
	protected int empid;
	protected int illnessCode;
	protected long date;

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public int getpNum() {
		return pNum;
	}

	public void setpNum(int pNum) {
		this.pNum = pNum;
	}

	public int getEmpid() {
		return empid;
	}

	public void setEmpid(int empid) {
		this.empid = empid;
	}

	public int getIllnessCode() {
		return illnessCode;
	}

	public void setIllnessCode(int illnessCode) {
		this.illnessCode = illnessCode;
	}

	public long getDate() {
		return date;
	}

	public void setDate(long date) {
		this.date = date;
	}

}
